package com.edu.d6_abstract;

public class Yest {
    public static void main(String[] args) {
        GoldCard goldCard = new GoldCard();
        goldCard.setName("shabi");
        goldCard.setMoney(10000);
        goldCard.pay(2000);
    }
}
